/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/7 14:22
 * @Copyright 博为峰
 */
public class ForForDemo01 {
    public static void main(String[] args) {
//        for (int i = 0; i < 5; i++) {
//            for (int j = 0; j < 3; j++) {
//                System.out.println("i = " + i);
//                System.out.println("j = " + j);
//            }
//        }

        //打印九九乘法表
        for (int i = 1; i <= 9; i++) {
//            System.out.println("i = " + i);
            for (int j = 1; j <= i; j++) {
//                System.out.print(i);
                System.out.print(j + "*" + i + "=" + j * i + " ");
            }
            System.out.println();
        }
    }
}
